@font-face {
    font-family: 'ubunturegular';
    src: url('fonts/ubuntu-r-webfont.eot');
    src: url('fonts/ubuntu-r-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/ubuntu-r-webfont.woff') format('woff'),
         url('fonts/ubuntu-r-webfont.ttf') format('truetype'),
         url('fonts/ubuntu-r-webfont.svg#ubunturegular') format('svg');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
}

html, body, .mainWrapper {
    background: #6B6B6B;
    font-family: ubunturegular;
    height: 100%;
}

.mainHeader, .mainFooter {
    background-color: #222;
    color: #f7f8fa;
}

/* Header */
.mainHeader {
    height: 140px;
}

/*  Content */
.content {
    background: url("../photos/DSC_0043.jpg") no-repeat;
    background-size: cover;
    height: calc(100% - 140px - 60px - 30px); /*body height (100%) - height of header (140px) - footer height (60px) - content padding (50px)*/
    margin: 0 auto;
    min-height:485px;
    padding: 15px 0;
}

/*  Begining of Registration Form */
#title {
    text-align: center;
    clear: both;
}
#formWrapper { /*  #formWrapper */
    background-color: rgba(241,241,241, 0.92);
    border: 1px solid #ddd;
    border-radius: 5px;
    color: #474747;
    margin: 0 auto;
    padding: 15px;
    width: 350px;
    box-shadow: 0px 0px 30px -10px black;
}

#loginForm {
    margin:20px 20px 0 20px;
}

.closeRegistrationForm {
    position: inherit;
    float: right;
    border: none;
}

.inputArea {
    height: 50px;
}

.textBeforeInput {
    display: inline-block;
    width: 30%;
    font-size: 16px;
}

.registrationInputs {
    border: 1px solid #ccc;
    background-color: #F1F1F1;
    box-shadow: 0 1px 1px #fff inset;
    border-radius: 4px;
    font-size: 0.85em;
    color: #7E7E7E;
    padding: 6px;
    width: 195px;
    outline: none;
}

.registrationInputs:hover {
    border: 1px solid #ccc;
    box-shadow: 0 1px 1px #ddd inset;
}

.registrationInputs:focus {
    color: #5F5F5F;
    border: 1px solid #ccc;
    box-shadow: 0 0px 0px #ccc inset;
    background-color: #FFFFFF;
}

.helperInput, .errorMessage {
    color: #A4A4A4;
    display: block;
    font-size: 0.65em;
    font-style: italic;
    margin-left: 32%;
}

.errorMessage {
    color: #F90000;
    font-size: 0.85em;
    font-style: normal;
    padding: 0;
}

.errorInput {
    border-color: red;
}

.registerUser {
    color: #666;
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
}

.registerUser a {
    color: #B0B0B0;
    font-size: 1.15em;
}

.registerUser a:hover {
    color: #666;
}


/*  End of Login Form */

/*  Footer */
.mainFooter {
    height: 60px;
}

.defaultButton {
    width: 150px;
    height: 32px;
    margin: 10px 0 10px 100px;
    padding: 0 0 2px;
    outline: none;
    cursor: pointer;
    border-radius: 3px;
    color: #555;
    font-size: 15px;
    border: 1px solid #959595;
    border-top: 1px solid #B4B4B4;
    border-bottom: 1px solid #7B7B7B;
    box-shadow:
        inset 2px 2px #E3E3E3,
        inset 1px 0 #CECECE,
        inset -1px 0 #CECECE,
        inset 0 -1px #BDBDBD,
        0 2px #878787,
        0 3px #7B7B7B,
        0 4px 2px rgba(0,0,0,0.4)

    ;
    background: -moz-linear-gradient(top,  #d1d1d1 0%, #afafaf 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#d1d1d1), color-stop(100%,#afafaf)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #d1d1d1 0%,#afafaf 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #d1d1d1 0%,#afafaf 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #d1d1d1 0%,#afafaf 100%); /* IE10+ */
    background: linear-gradient(top,  #d1d1d1 0%,#afafaf 100%); 
    background-color: #C0C0C0;
}
.defaultButton:hover {
    border-top: 1px solid #A2A2A2;
    box-shadow:
        inset 2px 2px #D4D4D4,
        inset 1px 0 #CECECE,
        inset -1px 0 #CECECE,
        inset 0 -1px #CECECE,
        0 2px #878787,
        0 3px #7B7B7B,
        0 4px 2px rgba(0,0,0,0.4)
    ;
    background: -moz-linear-gradient(top,  #b7b7b7 0%, #c2c2c2 100%); 
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#b7b7b7), color-stop(100%,#c2c2c2)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #b7b7b7 0%,#c2c2c2 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #b7b7b7 0%,#c2c2c2 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #b7b7b7 0%,#c2c2c2 100%); /* IE10+ */
    background: linear-gradient(top,  #b7b7b7 0%,#c2c2c2 100%); 
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b7b7b7', endColorstr='#c2c2c2',GradientType=0 ); /* IE6-9 */
    background-color: #C0C0C0;
}
.defaultButton:active {
    top: 3px;
    border: 1px solid #BCBCBC;
    border-top: 1px solid #BCBCBC;
    border-bottom: 1px solid #BCBCBC;
    background: #BCBCBC;
    box-shadow: inset 0 1px 2px #000;
}
